package com.ruoyi.erp.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 外派属性对象 staffing_setting
 * 
 * @author sauger
 * @date 2022-03-07
 */
public class StaffingSetting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 类型: cusomer project person */
    @Excel(name = "类型: cusomer project person")
    private String resourceType;

    /** 对应id */
    @Excel(name = "对应id")
    private Integer resourceId;

    /** 是否继承 */
    @Excel(name = "是否继承")
    private Integer inhiret;

    /** 报价方式 */
    @Excel(name = "报价方式")
    private String quotationType;

    //适用假期调休类型
    private Integer holidayConfigType;

    /** 报价 */
    @Excel(name = "报价")
    private BigDecimal quotation;

    /** 月报价 */
    @Excel(name = "月报价")
    private BigDecimal quotationMonth;

    /** 日报价 */
    @Excel(name = "日报价")
    private BigDecimal quotationDay;

    /** 结算方式 */
    @Excel(name = "结算方式")
    private String billType;

    /** 有效收款时间(月) */
    @Excel(name = "有效收款时间(月)")
    private Integer billExpireMonth;

    /** 缺勤结算方式 */
    @Excel(name = "缺勤结算方式")
    private String absentType;

    /** 加班结算方式 */
    @Excel(name = "加班结算方式")
    private String overtimeType;

    /** 报销结算比列(%) */
    private BigDecimal expenseRate;

    /** 税率(%) */
    private BigDecimal tax;

    /** 账期费率(%) */
    private BigDecimal billFeeRate;

    /** 账期 */
    @Excel(name = "账期")
    private String billDays;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setResourceType(String resourceType) 
    {
        this.resourceType = resourceType;
    }

    public String getResourceType() 
    {
        return resourceType;
    }
    public void setResourceId(Integer resourceId)
    {
        this.resourceId = resourceId;
    }

    public Integer getResourceId()
    {
        return resourceId;
    }
    public void setInhiret(Integer inhiret)
    {
        this.inhiret = inhiret;
    }

    public Integer getInhiret()
    {
        return inhiret;
    }
    public void setQuotationType(String quotationType) 
    {
        this.quotationType = quotationType;
    }

    public String getQuotationType() 
    {
        return quotationType;
    }
    public void setQuotation(BigDecimal quotation) 
    {
        this.quotation = quotation;
    }

    public BigDecimal getQuotation() 
    {
        return quotation;
    }
    public void setQuotationMonth(BigDecimal quotationMonth) 
    {
        this.quotationMonth = quotationMonth;
    }

    public BigDecimal getQuotationMonth() 
    {
        return quotationMonth;
    }
    public void setQuotationDay(BigDecimal quotationDay) 
    {
        this.quotationDay = quotationDay;
    }

    public BigDecimal getQuotationDay() 
    {
        return quotationDay;
    }
    public void setBillType(String billType) 
    {
        this.billType = billType;
    }

    public String getBillType() 
    {
        return billType;
    }
    public void setBillExpireMonth(Integer billExpireMonth)
    {
        this.billExpireMonth = billExpireMonth;
    }

    public Integer getBillExpireMonth()
    {
        return billExpireMonth;
    }
    public void setAbsentType(String absentType) 
    {
        this.absentType = absentType;
    }

    public String getAbsentType() 
    {
        return absentType;
    }
    public void setOvertimeType(String overtimeType) 
    {
        this.overtimeType = overtimeType;
    }

    public String getOvertimeType() 
    {
        return overtimeType;
    }
    public void setExpenseRate(BigDecimal expenseRate) 
    {
        this.expenseRate = expenseRate;
    }

    public BigDecimal getExpenseRate() 
    {
        return expenseRate;
    }
    public void setTax(BigDecimal tax) 
    {
        this.tax = tax;
    }

    public BigDecimal getTax() 
    {
        return tax;
    }
    public void setBillFeeRate(BigDecimal billFeeRate) 
    {
        this.billFeeRate = billFeeRate;
    }

    public BigDecimal getBillFeeRate() 
    {
        return billFeeRate;
    }
    public void setBillDays(String billDays) 
    {
        this.billDays = billDays;
    }

    public String getBillDays() 
    {
        return billDays;
    }

    public Integer getHolidayConfigType() {
        return holidayConfigType;
    }

    public void setHolidayConfigType(Integer holidayConfigType) {
        this.holidayConfigType = holidayConfigType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("resourceType", getResourceType())
            .append("resourceId", getResourceId())
            .append("inhiret", getInhiret())
            .append("quotationType", getQuotationType())
            .append("quotation", getQuotation())
            .append("quotationMonth", getQuotationMonth())
            .append("quotationDay", getQuotationDay())
            .append("billType", getBillType())
            .append("billExpireMonth", getBillExpireMonth())
            .append("absentType", getAbsentType())
            .append("overtimeType", getOvertimeType())
            .append("expenseRate", getExpenseRate())
            .append("tax", getTax())
            .append("billFeeRate", getBillFeeRate())
            .append("billDays", getBillDays())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
